<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>栏目列表</title>
       <link type="text/css" rel="stylesheet" href="__ROOT__/admin/tpl/public/style/{$hd.session.style}.css"/>
		<css file="__ROOT__/admin/tpl/public/css/common.css"/>
		<css file="__ROOT__/admin/tpl/public/css/category.css"/>
    </head>
    <body>
        <div id='cateShow' class='comShow'>
            <h1 class='cateNav' >
            	<a class='cateNavBtn' href="javascript:;">栏目列表</a>
			</h1>
            <table class='table4'> 
                <thead>
                    <tr class='title'>
                        <th class='cl' width=5%>
                            排序
                        </th>
                        <th width=5%>
                            catid
                        </th>
                        <th>
                            栏目名称
                        </th>
                        <th width=25% class="cr">
                            操作
                        </th>
                    </tr>
                </thead>
                <tbody>
                    <list from="$category" name="$v">
                        <tr>
                            <td class='cl'>
                                {$v.sort}
                            </td>
                            <td>
                                {$v.catid}
                            </td>
                            <td class='textLeft'>
                                {$v.html}{$v.cname}
                            </td>
                            <td class='cr'>
                                <a href="__CONTROL__/add_show/catid/{$v.catid}">添加子栏目</a>
                                <span>|</span>
                                <a href="__CONTROL__/edit_show/catid/{$v.catid}">编辑</a>
                                <span>|</span>
                                <a href="__CONTROL__/del/catid/{$v.catid}">删除</a>
                                <span>|</span>
                                <a href="__APP__/article/add_show/catid/{$v.catid}">发表文章</a>
                            </td>
                        </tr>
                    </list>
                </tbody>
            </table>
        </div>
    </body>
</html>
